package VN.EDU.IMIC.DEVELOPER.NGUYENTHUYOANH_arr01;

import java.util.Scanner;

public class Views {

	public static void main(String[] args) {

		
		Mang obj_Mang=new Mang();
		Scanner obj_Scanner =new Scanner(System.in);
		Controller obj_Controller =new Controller(obj_Mang);
		
		//Nhap tu ban phim
		for(int i=0;i<10;i++)
		{
			System.out.println("Nhap phan tu thu "+ i);
			obj_Mang.iList[i]=obj_Scanner.nextInt();
		}
		//Hien thi ra man hinh
		for(int i=0;i<10;i++)
			
		{
			System.out.println("Gia tri phan tu thu "+i);
			int a= obj_Controller.HienThiPhanTu(i);
			System.out.println(a);
		}
		
		
		
		
	}

}
